/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="CLASSIFICACAOMEDICTOS")
public class ClassificacaoMedictosProteu implements Serializable{

    @Id
    @Column(name="CLM_IN_CODIGO")
    private Integer clmInCodigo;
    @Column(name="CLM_ST_DESCRICAO")
    private String clmStDescricao;

    public Integer getClmInCodigo() {
        return clmInCodigo;
    }

    public void setClmInCodigo(Integer clmInCodigo) {
        this.clmInCodigo = clmInCodigo;
    }

    public String getClmStDescricao() {
        return clmStDescricao;
    }

    public void setClmStDescricao(String clmStDescricao) {
        this.clmStDescricao = clmStDescricao;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ClassificacaoMedictosProteu other = (ClassificacaoMedictosProteu) obj;
        if (this.clmInCodigo != other.clmInCodigo && (this.clmInCodigo == null || !this.clmInCodigo.equals(other.clmInCodigo))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 67 * hash + (this.clmInCodigo != null ? this.clmInCodigo.hashCode() : 0);
        return hash;
    }

    

}
